#include"AVL.h"

using namespace std;
int main() {
	ly::AVL<int> a;
	srand(time(0));
	int n = 10000;
	for (int i = 0; i < n; i++) {
		int x = rand();
		//int x = 0; cin >> x;
		cout << "insert->" << x << endl;
		a.insert(x);
		a.check();
	}
	for (auto e : a) {
		cout << e << ' ';
	}
	cout << endl;
	return 0;
}